From: Florian Müllner Date: Fri, 11 Aug 2023 09:59:43 +0000 (+0200) Subject: status/backgroundApps: Close after activating app X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~320^2^2~113 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=05f5532c7deac890dc7bdfaa80e4bc8d83a28457;p=gnome-shell.git status/backgroundApps: Close after activating app We should leave the overview and close quick settings, like we do elsewhere when launching something. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6895 Part-of: --- diff --git a/js/ui/status/backgroundApps.js b/js/ui/status/backgroundApps.js index ad7ea7d65..d6f2e495b 100644 --- a/js/ui/status/backgroundApps.js +++ b/js/ui/status/backgroundApps.js @@ -95,7 +95,11 @@ const BackgroundAppMenuItem = GObject.registerClass({ closeButton.connect('clicked', () => this._quitApp().catch(logError)); - this.connect('activate', () => this.app.activate()); + this.connect('activate', () => { + Main.overview.hide(); + Main.panel.closeQuickSettings(); + this.app.activate(); + }); this.connect('destroy', () => this._onDestroy()); }